package com.example.enums;

import lombok.Getter;

@Getter
public enum OrderStatus {
    WAITING_TO_SEND(0, "待发货"),
    WAITING_TO_RECEIVE(1, "待收货"),
    WAITING_TO_EVALUATE(2, "待评价"),
    FINISHED(3, "已完成"),
    CANCELLED(4, "已取消");

    private final int code;
    private final String desc;

    OrderStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
